Need Similar Script like Merawap.Com | (Source: m.zedge.net)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    I was going to code this for you but i got bored half way and couldnt be bothered any more...
    here is as far as i got:
    phone_selector.php
    PHP Code:
    <?php 
    $s_p 
    $_GET["s_p"]; 
    if(isset(
    $s_p)){
    header("Location: index.php?s_p=".$s_p);
    exit;
    }
    $b $_GET['b'];
    $m $_GET['m']; 
    if(isset(
    $m)) $m "&m=$m";
    $f $_GET['f']; 
    if(isset(
    $f)) $f "&f=$f";
    $p $_GET['p'];
    $page file_get_contents("http://merawap.com/phone_selector.php?p=$p&b=$b$m$f"); 
    $page preg_replace('/<a href=\"http:\/\/c(.*?)<br>/','',$page); 
    echo 
    $page
    ?>
    index.php
    PHP Code:
    <?php
    $s_p 
    $_GET["s_p"];
    if(!isset(
    $s_p)){
    header("Location: phone_selector.php?p=phone-chooser&b=0");
    exit;
    }
    $p $_GET['p']; 
    if(isset(
    $p)) $p "&p=$p";
    $page file_get_contents("http://merawap.com/index.php?s_p=$s_p$p"); 
    $page preg_replace('/<a href=\"http:\/\/c(.*?)<br>/','',$page); 
    $page str_replace("Merawap.com",$_SERVER['SERVER_NAME'],$page);
    echo 
    $page
    ?>

    Comment


      #17
      thaxx @something else

      Comment

      Working...
      X